package com.easylinkin.linkappapi.danger.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_danger")
public class Danger extends Model<Danger> {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)

    private Integer id;

    /**
     * 原字典中的id
     */
    private Integer theId;

    /**
     * 创建时间
     */

    private Date createTime;
    /**
     * 最后同步时间
     */
    private Date lastPushTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 隐患类型id
     */
    private Long dangerTypeId;

    /**
     * full
     */

    private String fullId;

    /**
     * 全名
     */

    private String fullName;

    private String content;

    private String code;

    /**
     * 排序
     */

    @TableField("order_")
    private Integer order;

    /**
     * 等级
     */
    private Integer level;


    private Integer changeLimit;

    /**
     * 删除状态 0-已删除，1-存在
     */

    private Integer deleteStatus;

    /**
     * 状态 0-正常
     */

    private Integer recordStatus;

    private Integer points;

    private Integer fine;


    private Integer pushPeriod;

    /**
     * 是否关联规范 0-未关联
     */
    private Integer related;

    private String identify;


    /**
     * 租户id
     */
    private String tenantId;


}
